projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2de694
)
* lisp/emacs-lisp/lisp-mode.el (lisp-mode): Also set `comment-end-skip`
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 2 Feb 2021 15:08:44 +0000
(10:08 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 2 Feb 2021 15:08:44 +0000
(10:08 -0500)
lisp/emacs-lisp/lisp-mode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/lisp-mode.el
b/lisp/emacs-lisp/lisp-mode.el
index 398cb76ac712b4777d8a4380b3d13d8ff498a173..5dda3a8f8e962983ef054696845b8fa08e2b1ea6 100644
(file)
--- a/
lisp/emacs-lisp/lisp-mode.el
+++ b/
lisp/emacs-lisp/lisp-mode.el
@@
-775,6
+775,7
@@
or to switch back to an existing one."
(setq-local find-tag-default-function 'lisp-find-tag-default)
(setq-local comment-start-skip
"\\(\\(^\\|[^\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *")
+ (setq-local comment-end-skip "[ \t]*\\(\\s>\\||#\\)")
(setq-local font-lock-comment-end-skip "|#")
(setq imenu-case-fold-search t))